package com.tianya.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Data;

/**
 * @author TianYaGuoKe
 * @date 2025/5/24 23:00
 * @description AttendanceStatus
 */
public enum AttendanceStatus {
    ATTENDANCE(1,"出勤"),
    LEAVE(2,"请假"),
    ABSENT(0,"缺勤");
    @EnumValue
    private Integer code;
    private String msg;

    AttendanceStatus(Integer code ,String msg) {
        this.code = code;
        this.msg = msg;
    }
}
